package com.xdxc.model.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class ExamRecord implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)

    private Long userId;
    @JsonSerialize(using = ToStringSerializer.class)

    private Long examId;
    private String examType;
    private Integer totalTime;
    private Integer userTime;
    private Double totalScore;
    private Double qualifyScore;
    private Double objScore;
    private Double subjScore;
    private Double userScore;
    private Double userObjScore;
    private Integer limitTime;
    private Integer leaveTimes;
    private Boolean passed;
    private Boolean valid;
    private String deptCode;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    @JsonSerialize(using = ToStringSerializer.class)


    private Long createBy;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long updateBy;
    private Integer chance;
    private String answerDevice;
    private String answerMode;
    private Boolean camOn;
    @JsonSerialize(using = ToStringSerializer.class)

    private Long paperId;
}
